package com.kg.module.jtnc.nhdagl.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.kg.core.base.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.List;


/**
 * <p>
 * 农户档案管理表
 * </p>
 *
 * @author xxx
 * @since 2024-11-02
 */
@Getter
@Setter
@ApiModel(value = "NhzzjhjxxxDTO", description = "农户档案管理表")
public class NhzzjhjxxxDTO implements BaseDTO {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty("计划名称")
    @TableField("jhmc")
    private String jhmc;

    @ApiModelProperty("地块名称")
    @TableField("dkmc")
    private String dkmc;

    @ApiModelProperty("种植作物")
    @TableField("zzzw")
    private String zzzw;

    @ApiModelProperty("种植株数")
    @TableField("zzzs")
    private String zzzs;

    @ApiModelProperty("生长周期开始")
    @TableField("szzq_ks")
    private String szzqKs;

    @ApiModelProperty("生长周期结束")
    @TableField("szzq_js")
    private String szzqJs;





    @ApiModelProperty("实际重量")
    @TableField("sjzl")
    private Double sjzl;
    @ApiModelProperty("交易金额")
    @TableField("jyje")
    private Double jyje;

    @ApiModelProperty("任务数量")
    private int rwsl;

    @ApiModelProperty("任务分数")
    private int rwfs;

    @ApiModelProperty("人工核算费用")
    private Double rghsf;


    @ApiModelProperty("农资使用信息")
    private List<Nzsyxx> nzsyxxList;

    @Data
    public static class Nzsyxx {
        @ApiModelProperty("农资编号")
        private String nzbh;

        @ApiModelProperty("农资名称")
        private String nzmc;

        @ApiModelProperty("规格")
        private String gg;

        @ApiModelProperty("单位")
        private String unit;
        @ApiModelProperty("农资数量")
        private Integer nzsl;
    }
}
